***********************************************
* VGM music package                           *
* http://vgmrips.net/                         *
***********************************************
Game name:           VS. Super Captain Flag
System:              Arcade Machine
Music hardware:      2xOKIM6295

Music author:        Takahiro Ogata
Game developer:      Jaleco
Game publisher:      Jaleco
Game release date:   1993-10

Package created by:  RN22
Package version:     1.01

Song list, in approximate game order:
Song name                           Length:
                                    Total  Loop
01 VS. Super Captain Flag! (Title
   Screen, Character Introduction)  0:25   0:25
02 Game Explanation, How to Play
   ~Ver.2~                          0:07   0:07
03 Credit SFX                       0:01   -
04 Waiting for Challenger!          0:04   0:04
05 Here Comes a New Challenger!     0:02   -
06 Opponent Select ~Ver.2~          0:04   0:04
07 Crowd Cheering                   0:04   -
08 Raise the Flag! ~Ver.2~ (Main
   BGM Mild)                        0:04   0:04
09 Raise the Flag! ~Ver.2~ (Main
   BGM Normal)                      0:03   0:03
10 Last Flag! ~Ver.2~ (Main BGM
   Intense)                         0:06   0:06
11 You Win!                         0:02   -
12 You Lose!                        0:03   -
13 Draw Game!                       0:03   -
14 Game Over                        0:03   -
15 Fanfare (Challenge Demo,
   Treasure Opens)                  0:02   -
16 Treasure Chest Time! (Bonus Game
   BGM)                             0:06   0:06
17 Unknown Jingle                   0:02   -
18 VS. Super Captain Flag! (First
   Part)                            0:15   -
19 VS. Super Captain Flag! (Second
   Part)                            0:01   -
20 VS. Super Captain Flag! (Third
   Part)                            0:10   -

Total Length                        1:46   2:45


Notes:
An update of Jaleco's "Captain Flag".
This was dumped on Jan 3 on this year, 2023.
Instead of counting correct flags, They had
this kinda lifebar meter. If you raise the
wrong flag, the opponent's meter will go up.
But if you raised the correct flag early,
your meter will slightly go up. In fact, this
is a multiplayer game when you can compete
other human players to these game. Of course,
if you know japanese.

Also, they added 2 new characters, Jenny and
Alex, and new musics too. Some of the fanfares
from the previous one are re-used in this
game, so I have to include since this is part
of the game. But I don't care updating my
Captain Flag pack. To be fair, I have to
separate it into one pack so that I won't have
any problems at updating this pack.

Some of the sound codes for the re-used musics
and jingles in this game, are seems to be
changed when the ROM got dumped on the public.

I've also noticed that Track 01 cut the
music cues into 3. So I hex-edit it to
join the 3 music cues. In-game, the second
part of the song overlaps early with the
first part, then followed by the third part.

Track 11 seems to be cutted off in this game,
while the previous one does not cut the end
part of the jingle.

It took me almost 6 hours to join these
3 parts into one, a lot of hex-editing
stuff, researching about address data of that
chip. Also, special thanks to ValleyBell for
the tips on address data (0x0 to 0x3FF).
Track 01's uses bankswitching, when the three
parts joined together.

The first and the third part uses the second
OKI to play, while the second part uses the
first OKI. To do this, I just save the OKI
.bin file thru debugger, with the banks
respectively played on a sound test. Then,
split the first and third bank .BINs into
128K to fit onto 256K of the second OKI.

Then adjust the corresponding address data
located at these offsets 0xCF to 0x400CE
(if you copy the whole .bin file onto the
.vgm OKI bank data file).

Captain Flag's Unknown BGM has been used as
"Game Over" when you lose a round.

Also, still need to figure out where the
sound cues are played of most parts of the
game.

I've also suspect that Takahiro Ogata did
composed this game, So I put it in on the
author tags section.

Special thanks to BoxCubed for building this
custom MAME VGM Mod for me, in order to log
this.

Note: This game is using ADPCM samples to
play. And thus, seeking doesn't working
properly.


Generated by MAME 0.248 VGM mod
(mame0248-3-gfa824ec3b1b "Custom Build")

Size reduction:
1. vgm_sro: 27.3 MB -> 757 KB (2.71 %)
2. vgm_cmp: 757 KB -> 757 KB (100.0 %)
Total: 27.3 MB -> 757 KB (2.71 %)

External links:
GamingHistory:
 https://www.arcade-history.com/?n=vs-super-captain-flag&page=detail&id=35796
Real PCB Hardware Playthrough:
 https://www.youtube.com/watch?v=i9dQoLX0d4E


Package history:
1.00 2023-01-23 RN22: Initial release.
1.01 2023-01-25 RN22: Fixed silenced between
 the second part and the third part on Track
 01.
